package com.axon.lemon;

import java.util.Date;

import javax.management.relation.Role;

class UserProfile implements Serializable {
	String email;
	String fullName;
	String gender;
	String company;
	String website;
	String password;
	Date birthday;
	byte[] avatar;
	RoleAcc roleacc
	static hasMany = [places:Place]	
	public String toString() {
		email
	}
	
	static constraints = {
		email shared:'share_email'
		password shared:'share_password'
		gender inList: ["Male", "Female"]
		website url: true		
	}
}